/*********************************************************************************
 *      Copyright:  (C) 2017 TangBin<tangbinmvp@gmail.com>
 *                  All rights reserved.
 *
 *       Filename:  s3c_hello.c
 *    Description:  This file 
 *                 
 *        Version:  1.0.0(03/23/2017)
 *         Author:  TangBin <tangbinmvp@gmail.com>
 *      ChangeLog:  1, Release initial version on "03/23/2017 01:12:59 PM"
 *                 
 ********************************************************************************/

#include<linux/init.h>
#include<linux/kernel.h>
#include<linux/module.h>

#define MOD_AUTHOR "TangBin<tangbinmvp@gmail.com>"
#define MOD_DESC "hello,world!"

static int __init hello_init(void)
{
    printk("hello,world!\n");
    printk("This is my first driver program.\n");
    return 0;
}

static void __exit hello_exit(void)
{
    printk("Bye!\n");
    return;
}

module_init(hello_init);
module_exit(hello_exit);

MODULE_AUTHOR(MOD_AUTHOR);
MODULE_DESCRIPTION(MOD_DESC);
MODULE_LICENSE("GPL");
